home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / emacs-19.000 / emacs-19 / usr / local / info / emacs-4 < prev    next >
Encoding:
GNU Info File  |  1995-09-11  |  45.4 KB  |  1,139 lines

  1. This is Info file ../info/emacs, produced by Makeinfo-1.55 from the
  2. input file emacs.texi.
  3.  
  4. 
  5. File: emacs,  Node: Transient Mark,  Next: Using Region,  Prev: Setting Mark,  Up: Mark
  6.  
  7. Transient Mark Mode
  8. ===================
  9.  
  10.    Emacs can highlight the current region, using X Windows.  But
  11. normally it does not.  Why not?
  12.  
  13.    Highlighting the region doesn't work well ordinarily in Emacs,
  14. because once you have set a mark, there is *always* a region (in that
  15. buffer).  And highlighting the region all the time would be a nuisance.
  16.  
  17.    You can turn on region highlighting by enabling Transient Mark mode.
  18. This is a more rigid mode of operation in which the region "lasts" only
  19. temporarily, so you must set up a region for each command that uses
  20. one.  In Transient Mark mode, most of the time there is no region;
  21. therefore, highlighting the region when it exists is convenient.
  22.  
  23.    To enable Transient Mark mode, type `M-x transient-mark-mode'.  This
  24. command toggles the mode, so you can repeat the command to turn off the
  25. mode.
  26.  
  27.    Here are the details of Transient Mark mode:
  28.  
  29.    * To set the mark, type `C-SPC' (`set-mark-command').  This makes
  30.      the mark active; as you move point, you will see the region
  31.      highlighting change in extent.
  32.  
  33.    * The mouse commands for specifying the mark also make it active.
  34.      So do keyboard commands whose purpose is to specify a region,
  35.      including `M-@', `C-M-@', `M-h', `C-M-h', `C-x C-p', and `C-x h'.
  36.  
  37.    * When the mark is active, you can execute commands that operate on
  38.      the region, such as killing, indentation, or writing to a file.
  39.  
  40.    * Any change to the buffer, such as inserting or deleting a
  41.      character, deactivates the mark.  This means any subsequent
  42.      command that operates on a region will get an error and refuse to
  43.      operate.  You can make the region active again by typing `C-x C-x'.
  44.  
  45.    * Commands like `M->' and `C-s' that "leave the mark behind" in
  46.      addition to some other primary purpose do not activate the new
  47.      mark.  You can activate the new region by executing `C-x C-x'
  48.      (`exchange-point-and-mark').
  49.  
  50.    * `C-s' when the mark is active does not alter the mark.
  51.  
  52.    * Quitting with `C-g' deactivates the mark.
  53.  
  54.    Transient Mark mode is also sometimes known as "Zmacs mode" because
  55. the Zmacs editor on the MIT Lisp Machine handled the mark in a similar
  56. way.
  57.  
  58.    When multiple windows show the same buffer, they can have different
  59. regions, because they can have different values of point (though they
  60. all share common one mark position).  In Transient Mark mode, each
  61. window highlights its own region.  The part that is highlighted in the
  62. selected window is the region that editing commands use.  *Note
  63. Windows::.
  64.  
  65.    When Transient Mark mode is not enabled, every command that sets the
  66. mark also activates it, and nothing ever deactivates it.
  67.  
  68. 
  69. File: emacs,  Node: Using Region,  Next: Marking Objects,  Prev: Transient Mark,  Up: Mark
  70.  
  71. Operating on the Region
  72. =======================
  73.  
  74.    Once you have a region and the mark is active, here are some of the
  75. ways you can operate on the region:
  76.  
  77.    * Kill it with `C-w' (*note Killing::.).
  78.  
  79.    * Save it in a register with `C-x r s' (*note Registers::.).
  80.  
  81.    * Save it in a buffer or a file (*note Accumulating Text::.).
  82.  
  83.    * Convert case with `C-x C-l' or `C-x C-u' (*note Case::.).
  84.  
  85.    * Indent it with `C-x TAB' or `C-M-\' (*note Indentation::.).
  86.  
  87.    * Fill it as text with `M-x fill-region' (*note Filling::.).
  88.  
  89.    * Print hardcopy with `M-x print-region' (*note Hardcopy::.).
  90.  
  91.    * Evaluate it as Lisp code with `M-x eval-region' (*note Lisp
  92.      Eval::.).
  93.  
  94.    Most commands that operate on the text in the region have the word
  95. `region' in their names.
  96.  
  97. 
  98. File: emacs,  Node: Marking Objects,  Next: Mark Ring,  Prev: Using Region,  Up: Mark
  99.  
  100. Commands to Mark Textual Objects
  101. ================================
  102.  
  103.    Here are the commands for placing point and the mark around a textual
  104. object such as a word, list, paragraph or page.
  105.  
  106. `M-@'
  107.      Set mark after end of next word (`mark-word').  This command and
  108.      the following one do not move point.
  109.  
  110. `C-M-@'
  111.      Set mark after end of next Lisp expression (`mark-sexp').
  112.  
  113. `M-h'
  114.      Put region around current paragraph (`mark-paragraph').
  115.  
  116. `C-M-h'
  117.      Put region around current Lisp defun (`mark-defun').
  118.  
  119. `C-x h'
  120.      Put region around entire buffer (`mark-whole-buffer').
  121.  
  122. `C-x C-p'
  123.      Put region around current page (`mark-page').
  124.  
  125.    `M-@' (`mark-word') puts the mark at the end of the next word, while
  126. `C-M-@' (`mark-sexp') puts it at the end of the next Lisp expression.
  127. These commands handle arguments just like `M-f' and `C-M-f'.
  128.  
  129.    Other commands set both point and mark, to delimit an object in the
  130. buffer.  For example, `M-h' (`mark-paragraph') moves point to the
  131. beginning of the paragraph that surrounds or follows point, and puts
  132. the mark at the end of that paragraph (*note Paragraphs::.).  It
  133. prepares the region so you can indent, case-convert, or kill a whole
  134. paragraph.
  135.  
  136.    `C-M-h' (`mark-defun') similarly puts point before and the mark
  137. after the current or following defun (*note Defuns::.).  `C-x C-p'
  138. (`mark-page') puts point before the current page, and mark at the end
  139. (*note Pages::.).  The mark goes after the terminating page delimiter
  140. (to include it), while point goes after the preceding page delimiter
  141. (to exclude it).  A numeric argument specifies a later page (if
  142. positive) or an earlier page (if negative) instead of the current page.
  143.  
  144.    Finally, `C-x h' (`mark-whole-buffer') sets up the entire buffer as
  145. the region, by putting point at the beginning and the mark at the end.
  146.  
  147.    In Transient Mark mode, all of these commands activate the mark.
  148.  
  149. 
  150. File: emacs,  Node: Mark Ring,  Next: Global Mark Ring,  Prev: Marking Objects,  Up: Mark
  151.  
  152. The Mark Ring
  153. =============
  154.  
  155.    Aside from delimiting the region, the mark is also useful for
  156. remembering a spot that you may want to go back to.  To make this
  157. feature more useful, each buffer remembers 16 previous locations of the
  158. mark, in the "mark ring".  Commands that set the mark also push the old
  159. mark onto this ring.  To return to a marked location, use `C-u C-SPC'
  160. (or `C-u C-@'); this is the command `set-mark-command' given a numeric
  161. argument.  It moves point to where the mark was, and restores the mark
  162. from the ring of former marks.  Thus, repeated use of this command
  163. moves point to all of the old marks on the ring, one by one.  The mark
  164. positions you move through in this way are not lost; they go to the end
  165. of the ring.
  166.  
  167.    Each buffer has its own mark ring.  All editing commands use the
  168. current buffer's mark ring.  In particular, `C-u C-SPC' always stays in
  169. the same buffer.
  170.  
  171.    Many commands that can move long distances, such as `M-<'
  172. (`beginning-of-buffer'), start by setting the mark and saving the old
  173. mark on the mark ring.  This is to make it easier for you to move back
  174. later.  Searches set the mark if they move point.  You can tell when a
  175. command sets the mark because it displays `Mark Set' in the echo area.
  176.  
  177.    If you want to move back to the same place over and over, the mark
  178. ring may not be convenient enough.  If so, you can record the position
  179. in a register for later retrieval (*note RegPos::.).
  180.  
  181.    The variable `mark-ring-max' specifies the maximum number of entries
  182. to keep in the mark ring.  If that many entries exist and another one
  183. is pushed, the last one in the list is discarded.  Repeating `C-u
  184. C-SPC' circulates through the positions currently in the ring.
  185.  
  186.    The variable `mark-ring' holds the mark ring itself, as a list of
  187. marker objects in the order most recent first.  This variable is local
  188. in every buffer.
  189.  
  190. 
  191. File: emacs,  Node: Global Mark Ring,  Prev: Mark Ring,  Up: Mark
  192.  
  193. The Global Mark Ring
  194. ====================
  195.  
  196.    In addition to the ordinary mark ring that belongs to each buffer,
  197. Emacs has a single "global mark ring".  It records a sequence of
  198. buffers in which you have recently set the mark, so you can go back to
  199. those buffers.
  200.  
  201.    Setting the mark always makes an entry on the current buffer's mark
  202. ring.  If you have switched buffers since the previous mark setting, the
  203. new mark position makes an entry on the global mark ring also.  The
  204. result is that the global mark ring records a sequence of buffers that
  205. you have been in, and, for each buffer, a place where you set the mark.
  206.  
  207.    The command `C-x C-SPC' (`pop-global-mark') jumps to the buffer and
  208. position of the latest entry in the global ring.  It also rotates the
  209. ring, so that successive uses of `C-x C-SPC' take you to earlier and
  210. earlier buffers.
  211.  
  212. 
  213. File: emacs,  Node: Killing,  Next: Yanking,  Prev: Mark,  Up: Top
  214.  
  215. Deletion and Killing
  216. ====================
  217.  
  218.    Most commands which erase text from the buffer save it in the kill
  219. ring so that you can move or copy it to other parts of the buffer.
  220. These commands are known as "kill" commands.  The rest of the commands
  221. that erase text do not save it in the kill ring; they are known as
  222. "delete" commands.  (This distinction is made only for erasure of text
  223. in the buffer.)  If you do a kill or delete command by mistake, you can
  224. use the `C-x u' (`undo') command to undo it (*note Undo::.).
  225.  
  226.    The delete commands include `C-d' (`delete-char') and DEL
  227. (`delete-backward-char'), which delete only one character at a time,
  228. and those commands that delete only spaces or newlines.  Commands that
  229. can destroy significant amounts of nontrivial data generally kill.  The
  230. commands' names and individual descriptions use the words `kill' and
  231. `delete' to say which they do.
  232.  
  233. * Menu:
  234.  
  235. * Deletion::            Commands for deleting small amounts of text and
  236.                           blank areas.
  237. * Killing by Lines::    How to kill entire lines of text at one time.
  238. * Other Kill Commands:: Commands to kill large regions of text and
  239.                           syntactic units such as words and sentences.
  240.  
  241. 
  242. File: emacs,  Node: Deletion,  Next: Killing by Lines,  Up: Killing
  243.  
  244. Deletion
  245. --------
  246.  
  247. `C-d'
  248.      Delete next character (`delete-char').
  249.  
  250. `DEL'
  251.      Delete previous character (`delete-backward-char').
  252.  
  253. `M-\'
  254.      Delete spaces and tabs around point (`delete-horizontal-space').
  255.  
  256. `M-SPC'
  257.      Delete spaces and tabs around point, leaving one space
  258.      (`just-one-space').
  259.  
  260. `C-x C-o'
  261.      Delete blank lines around the current line (`delete-blank-lines').
  262.  
  263. `M-^'
  264.      Join two lines by deleting the intervening newline, along with any
  265.      indentation following it (`delete-indentation').
  266.  
  267.    The most basic delete commands are `C-d' (`delete-char') and DEL
  268. (`delete-backward-char').  `C-d' deletes the character after point, the
  269. one the cursor is "on top of".  This doesn't move point.  DEL deletes
  270. the character before the cursor, and moves point back.  You can delete
  271. newlines like any other characters in the buffer; deleting a newline
  272. joins two lines.  Actually, `C-d' and DEL aren't always delete
  273. commands; when given arguments, they kill instead, since they can erase
  274. more than one character this way.
  275.  
  276.    The other delete commands are those which delete only whitespace
  277. characters: spaces, tabs and newlines.  `M-\'
  278. (`delete-horizontal-space') deletes all the spaces and tab characters
  279. before and after point.  `M-SPC' (`just-one-space') does likewise but
  280. leaves a single space after point, regardless of the number of spaces
  281. that existed previously (even zero).
  282.  
  283.    `C-x C-o' (`delete-blank-lines') deletes all blank lines after the
  284. current line.  If the current line is blank, it deletes all blank lines
  285. preceding the current line as well (leaving one blank line, the current
  286. line).
  287.  
  288.    `M-^' (`delete-indentation') joins the current line and the previous
  289. line, by deleting a newline and all surrounding spaces, usually leaving
  290. a single space.  *Note M-^: Indentation.
  291.  
  292. 
  293. File: emacs,  Node: Killing by Lines,  Next: Other Kill Commands,  Prev: Deletion,  Up: Killing
  294.  
  295. Killing by Lines
  296. ----------------
  297.  
  298. `C-k'
  299.      Kill rest of line or one or more lines (`kill-line').
  300.  
  301.    The simplest kill command is `C-k'.  If given at the beginning of a
  302. line, it kills all the text on the line, leaving it blank.  When used
  303. on a blank line, it kills the whole line including its newline.  To kill
  304. an entire non-blank line, go to the beginning and type `C-k' twice.
  305.  
  306.    More generally, `C-k' kills from point up to the end of the line,
  307. unless it is at the end of a line.  In that case it kills the newline
  308. following point, thus merging the next line into the current one.
  309. Spaces and tabs that you can't see at the end of the line are ignored
  310. when deciding which case applies, so if point appears to be at the end
  311. of the line, you can be sure `C-k' will kill the newline.
  312.  
  313.    When `C-k' is given a positive argument, it kills that many lines
  314. and the newlines that follow them (however, text on the current line
  315. before point is spared).  With a negative argument -N, it kills N lines
  316. preceding the current line (together with the text on the current line
  317. before point).  Thus, `C-u - 2 C-k' at the front of a line kills the
  318. two previous lines.
  319.  
  320.    `C-k' with an argument of zero kills the text before point on the
  321. current line.
  322.  
  323.    If the variable `kill-whole-line' is non-`nil', `C-k' at the very
  324. beginning of a line kills the entire line including the following
  325. newline.  This variable is normally `nil'.
  326.  
  327. 
  328. File: emacs,  Node: Other Kill Commands,  Prev: Killing by Lines,  Up: Killing
  329.  
  330. Other Kill Commands
  331. -------------------
  332.  
  333. `C-w'
  334.      Kill region (from point to the mark) (`kill-region').
  335.  
  336. `M-d'
  337.      Kill word (`kill-word').  *Note Words::.
  338.  
  339. `M-DEL'
  340.      Kill word backwards (`backward-kill-word').
  341.  
  342. `C-x DEL'
  343.      Kill back to beginning of sentence (`backward-kill-sentence').
  344.      *Note Sentences::.
  345.  
  346. `M-k'
  347.      Kill to end of sentence (`kill-sentence').
  348.  
  349. `C-M-k'
  350.      Kill sexp (`kill-sexp').  *Note Lists::.
  351.  
  352. `M-z CHAR'
  353.      Kill through the next occurrence of CHAR (`zap-to-char').
  354.  
  355.    A kill command which is very general is `C-w' (`kill-region'), which
  356. kills everything between point and the mark.  With this command, you
  357. can kill any contiguous sequence of characters, if you first set the
  358. region around them.
  359.  
  360.    A convenient way of killing is combined with searching: `M-z'
  361. (`zap-to-char') reads a character and kills from point up to (and
  362. including) the next occurrence of that character in the buffer.  A
  363. numeric argument acts as a repeat count.  A negative argument means to
  364. search backward and kill text before point.
  365.  
  366.    Other syntactic units can be killed: words, with `M-DEL' and `M-d'
  367. (*note Words::.); sexps, with `C-M-k' (*note Lists::.); and sentences,
  368. with `C-x DEL' and `M-k' (*note Sentences::.).
  369.  
  370.    You can use kill commands in read-only buffers.  They don't actually
  371. change the buffer, and they beep to warn you of that, but they do copy
  372. the text you tried to kill into the kill ring, so you can yank it into
  373. other buffers.  Most of the kill commands move point across the text
  374. they copy in this way, so that successive kill commands build up a
  375. single kill ring entry as usual.
  376.  
  377. 
  378. File: emacs,  Node: Yanking,  Next: Accumulating Text,  Prev: Killing,  Up: Top
  379.  
  380. Yanking
  381. =======
  382.  
  383.    "Yanking" means reinserting text previously killed.  This is what
  384. some systems call "pasting".  The usual way to move or copy text is to
  385. kill it and then yank it elsewhere one or more times.
  386.  
  387. `C-y'
  388.      Yank last killed text (`yank').
  389.  
  390. `M-y'
  391.      Replace text just yanked with an earlier batch of killed text
  392.      (`yank-pop').
  393.  
  394. `M-w'
  395.      Save region as last killed text without actually killing it
  396.      (`kill-ring-save').
  397.  
  398. `C-M-w'
  399.      Append next kill to last batch of killed text (`append-next-kill').
  400.  
  401. * Menu:
  402.  
  403. * Kill Ring::        Where killed text is stored.  Basic yanking.
  404. * Appending Kills::    Several kills in a row all yank together.
  405. * Earlier Kills::    Yanking something killed some time ago.
  406.  
  407. 
  408. File: emacs,  Node: Kill Ring,  Next: Appending Kills,  Up: Yanking
  409.  
  410. The Kill Ring
  411. -------------
  412.  
  413.    All killed text is recorded in the "kill ring", a list of blocks of
  414. text that have been killed.  There is only one kill ring, shared by all
  415. buffers, so you can kill text in one buffer and yank it in another
  416. buffer.  This is the usual way to move text from one file to another.
  417. (*Note Accumulating Text::, for some other ways.)
  418.  
  419.    The command `C-y' (`yank') reinserts the text of the most recent
  420. kill.  It leaves the cursor at the end of the text.  It sets the mark at
  421. the beginning of the text.  *Note Mark::.
  422.  
  423.    `C-u C-y' leaves the cursor in front of the text, and sets the mark
  424. after it.  This happens only if the argument is specified with just a
  425. `C-u', precisely.  Any other sort of argument, including `C-u' and
  426. digits, specifies an earlier kill to yank (*note Earlier Kills::.).
  427.  
  428.    To copy a block of text, you can use `M-w' (`kill-ring-save'), which
  429. copies the region into the kill ring without removing it from the
  430. buffer.  This is approximately equivalent to `C-w' followed by `C-x u',
  431. except that `M-w' does not alter the undo history and does not
  432. temporarily change the screen.
  433.  
  434. 
  435. File: emacs,  Node: Appending Kills,  Next: Earlier Kills,  Prev: Kill Ring,  Up: Yanking
  436.  
  437. Appending Kills
  438. ---------------
  439.  
  440.    Normally, each kill command pushes a new entry onto the kill ring.
  441. However, two or more kill commands in a row combine their text into a
  442. single entry, so that a single `C-y' yanks all the text as a unit, just
  443. as it was before it was killed.
  444.  
  445.    Thus, if you want to yank text as a unit, you need not kill all of it
  446. with one command; you can keep killing line after line, or word after
  447. word, until you have killed it all, and you can still get it all back at
  448. once.
  449.  
  450.    Commands that kill forward from point add onto the end of the
  451. previous killed text.  Commands that kill backward from point add text
  452. onto the beginning.  This way, any sequence of mixed forward and
  453. backward kill commands puts all the killed text into one entry without
  454. rearrangement.  Numeric arguments do not break the sequence of
  455. appending kills.  For example, suppose the buffer contains this text:
  456.  
  457.      This is a line -!-of sample text.
  458.  
  459. with point shown by -!-.  If you type `M-d M-DEL M-d M-DEL', killing
  460. alternately forward and backward, you end up with `a line of sample' as
  461. one entry in the kill ring, and `This is  text.' in the buffer.  (Note
  462. the double space, which you can clean up with `M-SPC' or `M-q'.)
  463.  
  464.    Another way to kill the same text is to move back two words with
  465. `M-b M-b', then kill all four words forward with `C-u M-d'.  This
  466. produces exactly the same results in the buffer and in the kill ring.
  467. `M-f M-f C-u M-DEL' kills the same text, all going backward; once
  468. again, the result is the same.  The text in the kill ring entry always
  469. has the same order that it had in the buffer before you killed it.
  470.  
  471.    If a kill command is separated from the last kill command by other
  472. commands (not just numeric arguments), it starts a new entry on the kill
  473. ring.  But you can force it to append by first typing the command
  474. `C-M-w' (`append-next-kill') right before it.  The `C-M-w' tells the
  475. following command, if it is a kill command, to append the text it kills
  476. to the last killed text, instead of starting a new entry.  With
  477. `C-M-w', you can kill several separated pieces of text and accumulate
  478. them to be yanked back in one place.
  479.  
  480.    A kill command following `M-w' does not append to the text that
  481. `M-w' copied into the kill ring.
  482.  
  483. 
  484. File: emacs,  Node: Earlier Kills,  Prev: Appending Kills,  Up: Yanking
  485.  
  486. Yanking Earlier Kills
  487. ---------------------
  488.  
  489.    To recover killed text that is no longer the most recent kill, use
  490. the `M-y' command (`yank-pop').  It takes the text previously yanked
  491. and replaces it with the text from an earlier kill.  So, to recover the
  492. text of the next-to-the-last kill, first use `C-y' to yank the last
  493. kill, and then use `M-y' to replace it with the previous kill.  `M-y'
  494. is allowed only after a `C-y' or another `M-y'.
  495.  
  496.    You can understand `M-y' in terms of a "last yank" pointer which
  497. points at an entry in the kill ring.  Each time you kill, the "last
  498. yank" pointer moves to the newly made entry at the front of the ring.
  499. `C-y' yanks the entry which the "last yank" pointer points to.  `M-y'
  500. moves the "last yank" pointer to a different entry, and the text in the
  501. buffer changes to match.  Enough `M-y' commands can move the pointer to
  502. any entry in the ring, so you can get any entry into the buffer.
  503. Eventually the pointer reaches the end of the ring; the next `M-y'
  504. moves it to the first entry again.
  505.  
  506.    `M-y' moves the "last yank" pointer around the ring, but it does not
  507. change the order of the entries in the ring, which always runs from the
  508. most recent kill at the front to the oldest one still remembered.
  509.  
  510.    `M-y' can take a numeric argument, which tells it how many entries
  511. to advance the "last yank" pointer by.  A negative argument moves the
  512. pointer toward the front of the ring; from the front of the ring, it
  513. moves "around" to the last entry and continues forward from there.
  514.  
  515.    Once the text you are looking for is brought into the buffer, you can
  516. stop doing `M-y' commands and it will stay there.  It's just a copy of
  517. the kill ring entry, so editing it in the buffer does not change what's
  518. in the ring.  As long as no new killing is done, the "last yank"
  519. pointer remains at the same place in the kill ring, so repeating `C-y'
  520. will yank another copy of the same previous kill.
  521.  
  522.    If you know how many `M-y' commands it would take to find the text
  523. you want, you can yank that text in one step using `C-y' with a numeric
  524. argument.  `C-y' with an argument restores the text the specified
  525. number of entries back in the kill ring.  Thus, `C-u 2 C-y' gets the
  526. next to the last block of killed text.  It is equivalent to `C-y M-y'.
  527. `C-y' with a numeric argument starts counting from the "last yank"
  528. pointer, and sets the "last yank" pointer to the entry that it yanks.
  529.  
  530.    The length of the kill ring is controlled by the variable
  531. `kill-ring-max'; no more than that many blocks of killed text are saved.
  532.  
  533.    The actual contents of the kill ring are stored in a variable named
  534. `kill-ring'; you can view the entire contents of the kill ring with the
  535. command `C-h v kill-ring'.
  536.  
  537. 
  538. File: emacs,  Node: Accumulating Text,  Next: Rectangles,  Prev: Yanking,  Up: Top
  539.  
  540. Accumulating Text
  541. =================
  542.  
  543.    Usually we copy or move text by killing it and yanking it, but there
  544. are other methods convenient for copying one block of text in many
  545. places, or for copying many scattered blocks of text into one place.  To
  546. copy one block to many places, store it in a register (*note
  547. Registers::.).  Here we describe the commands to accumulate scattered
  548. pieces of text into a buffer or into a file.
  549.  
  550. `M-x append-to-buffer'
  551.      Append region to contents of specified buffer.
  552.  
  553. `M-x prepend-to-buffer'
  554.      Prepend region to contents of specified buffer.
  555.  
  556. `M-x copy-to-buffer'
  557.      Copy region into specified buffer, deleting that buffer's old
  558.      contents.
  559.  
  560. `M-x insert-buffer'
  561.      Insert contents of specified buffer into current buffer at point.
  562.  
  563. `M-x append-to-file'
  564.      Append region to contents of specified file, at the end.
  565.  
  566.    To accumulate text into a buffer, use `M-x append-to-buffer'.  This
  567. reads a buffer name, them inserts a copy of the region into the buffer
  568. specified.  If you specify a nonexistent buffer, `append-to-buffer'
  569. creates the buffer.  The text is inserted wherever point is in that
  570. buffer.  If you have been using the buffer for editing, the copied text
  571. goes into the middle of the text of the buffer, wherever point happens
  572. to be in it.
  573.  
  574.    Point in that buffer is left at the end of the copied text, so
  575. successive uses of `append-to-buffer' accumulate the text in the
  576. specified buffer in the same order as they were copied.  Strictly
  577. speaking, `append-to-buffer' does not always append to the text already
  578. in the buffer--only if point in that buffer is at the end.  However, if
  579. `append-to-buffer' is the only command you use to alter a buffer, then
  580. point is always at the end.
  581.  
  582.    `M-x prepend-to-buffer' is just like `append-to-buffer' except that
  583. point in the other buffer is left before the copied text, so successive
  584. prependings add text in reverse order.  `M-x copy-to-buffer' is similar
  585. except that any existing text in the other buffer is deleted, so the
  586. buffer is left containing just the text newly copied into it.
  587.  
  588.    To retrieve the accumulated text from another buffer, use `M-x
  589. insert-buffer'; this too takes BUFFERNAME as an argument.  It inserts a
  590. copy of the text in buffer BUFFERNAME into the selected buffer.  You
  591. can alternatively select the other buffer for editing, then optionally
  592. move text from it by killing.  *Note Buffers::, for background
  593. information on buffers.
  594.  
  595.    Instead of accumulating text within Emacs, in a buffer, you can
  596. append text directly into a file with `M-x append-to-file', which takes
  597. FILENAME as an argument.  It adds the text of the region to the end of
  598. the specified file.  The file is changed immediately on disk.
  599.  
  600.    You should use `append-to-file' only with files that are *not* being
  601. visited in Emacs.  Using it on a file that you are editing in Emacs
  602. would change the file behind Emacs's back, which can lead to losing
  603. some of your editing.
  604.  
  605. 
  606. File: emacs,  Node: Rectangles,  Next: Registers,  Prev: Accumulating Text,  Up: Top
  607.  
  608. Rectangles
  609. ==========
  610.  
  611.    The rectangle commands operate on rectangular areas of the text: all
  612. the characters between a certain pair of columns, in a certain range of
  613. lines. Commands are provided to kill rectangles, yank killed rectangles,
  614. clear them out, fill them with blanks or text, or delete them. Rectangle
  615. commands are useful with text in multicolumn formats, and for changing
  616. text into or out of such formats.
  617.  
  618.    When you must specify a rectangle for a command to work on, you do it
  619. by putting the mark at one corner and point at the opposite corner.  The
  620. rectangle thus specified is called the "region-rectangle" because you
  621. control it in about the same way the region is controlled.  But
  622. remember that a given combination of point and mark values can be
  623. interpreted either as a region or as a rectangle, depending on the
  624. command that uses them.
  625.  
  626.    If point and the mark are in the same column, the rectangle they
  627. delimit is empty.  If they are in the same line, the rectangle is one
  628. line high.  This asymmetry between lines and columns comes about
  629. because point (and likewise the mark) is between two columns, but within
  630. a line.
  631.  
  632. `C-x r k'
  633.      Kill the text of the region-rectangle, saving its contents as the
  634.      "last killed rectangle" (`kill-rectangle').
  635.  
  636. `C-x r d'
  637.      Delete the text of the region-rectangle (`delete-rectangle').
  638.  
  639. `C-x r y'
  640.      Yank the last killed rectangle with its upper left corner at point
  641.      (`yank-rectangle').
  642.  
  643. `C-x r o'
  644.      Insert blank space to fill the space of the region-rectangle
  645.      (`open-rectangle').  This pushes the previous contents of the
  646.      region-rectangle rightward.
  647.  
  648. `M-x clear-rectangle'
  649.      Clear the region-rectangle by replacing its contents with spaces.
  650.  
  651. `M-x string-rectangle RET STRING RET'
  652.      Insert STRING on each line of the region-rectangle.
  653.  
  654.    The rectangle operations fall into two classes: commands deleting and
  655. inserting rectangles, and commands for blank rectangles.
  656.  
  657.    There are two ways to get rid of the text in a rectangle: you can
  658. discard the text (delete it) or save it as the "last killed" rectangle.
  659. The commands for these two ways are `C-x r d' (`delete-rectangle') and
  660. `C-x r k' (`kill-rectangle').  In either case, the portion of each line
  661. that falls inside the rectangle's boundaries is deleted, causing
  662. following text (if any) on the line to move left into the gap.
  663.  
  664.    Note that "killing" a rectangle is not killing in the usual sense;
  665. the rectangle is not stored in the kill ring, but in a special place
  666. that can only record the most recent rectangle killed.  This is because
  667. yanking a rectangle is so different from yanking linear text that
  668. different yank commands have to be used and yank-popping is hard to
  669. make sense of.
  670.  
  671.    To yank the last killed rectangle, type `C-x r y'
  672. (`yank-rectangle').  Yanking a rectangle is the opposite of killing
  673. one.  Point specifies where to put the rectangle's upper left corner.
  674. The rectangle's first line is inserted there, the rectangle's second
  675. line is inserted at a position one line vertically down, and so on.  The
  676. number of lines affected is determined by the height of the saved
  677. rectangle.
  678.  
  679.    You can convert single-column lists into double-column lists using
  680. rectangle killing and yanking; kill the second half of the list as a
  681. rectangle and then yank it beside the first line of the list.  *Note
  682. Two-Column::, for another way to edit multi-column text.
  683.  
  684.    You can also copy rectangles into and out of registers with `C-x r r
  685. R' and `C-x r i R'.  *Note Rectangle Registers: RegRect.
  686.  
  687.    There are two commands for making with blank rectangles: `M-x
  688. clear-rectangle' to blank out existing text, and `C-x r o'
  689. (`open-rectangle') to insert a blank rectangle.  Clearing a rectangle
  690. is equivalent to deleting it and then inserting a blank rectangle of
  691. the same size.
  692.  
  693.    The command `M-x string-rectangle' is similar to `C-x r o', but it
  694. inserts a specified string instead of blanks.  You specify the string
  695. with the minibuffer.  Since the length of the string specifies how many
  696. columns to insert, the width of the region-rectangle does not matter
  697. for this command.  What does matter is the position of the left edge
  698. (which specifies the column position for the insertion in each line)
  699. and the range of lines that the rectangle occupies.  The previous
  700. contents of the text beyond the insertion column are pushed rightward.
  701.  
  702. 
  703. File: emacs,  Node: Registers,  Next: Display,  Prev: Rectangles,  Up: Top
  704.  
  705. Registers
  706. *********
  707.  
  708.    Emacs "registers" are places you can save text or positions for
  709. later use.  Once you save text or a rectangle in a register, you can
  710. copy it into the buffer once or many times; you can move point to a
  711. position saved in a register once or many times.
  712.  
  713.    Each register has a name which is a single character.  A register can
  714. store a piece of text, a rectangle, a position, a window configuration,
  715. or a file name, but only one thing at any given time.  Whatever you
  716. store in a register remains there until you store something else in that
  717. register.  To see what a register R contains, use `M-x view-register'.
  718.  
  719. `M-x view-register RET R'
  720.      Display a description of what register R contains.
  721.  
  722. * Menu:
  723.  
  724. * Position: RegPos.           Saving positions in registers.
  725. * Text: RegText.              Saving text in registers.
  726. * Rectangle: RegRect.         Saving rectangles in registers.
  727. * Configurations: RegConfig.  Saving window configurations in registers.
  728. * Files: RegFiles.            File names in registers.
  729. * Bookmarks::                 Bookmarks are like registers, but persistent.
  730.  
  731. 
  732. File: emacs,  Node: RegPos,  Next: RegText,  Up: Registers
  733.  
  734. Saving Positions in Registers
  735. =============================
  736.  
  737.    Saving a position records a place in a buffer so that you can move
  738. back there later.  Moving to a saved position switches to that buffer
  739. and moves point to that place in it.
  740.  
  741. `C-x r SPC R'
  742.      Save position of point in register R (`point-to-register').
  743.  
  744. `C-x r j R'
  745.      Jump to the position saved in register R (`jump-to-register').
  746.  
  747.    To save the current position of point in a register, choose a name R
  748. and type `C-x r SPC R'.  The register R retains the position thus saved
  749. until you store something else in that register.
  750.  
  751.    The command `C-x r j R' moves point to the position recorded in
  752. register R.  The register is not affected; it continues to record the
  753. same position.  You can jump to the saved position any number of times.
  754.  
  755. 
  756. File: emacs,  Node: RegText,  Next: RegRect,  Prev: RegPos,  Up: Registers
  757.  
  758. Saving Text in Registers
  759. ========================
  760.  
  761.    When you want to insert a copy of the same piece of text several
  762. times, it may be inconvenient to yank it from the kill ring, since each
  763. subsequent kill moves that entry further down the ring.  An alternative
  764. is to store the text in a register and later retrieve it.
  765.  
  766. `C-x r s R'
  767.      Copy region into register R (`copy-to-register').
  768.  
  769. `C-x r i R'
  770.      Insert text from register R (`insert-register').
  771.  
  772.    `C-x r s R' stores a copy of the text of the region into the
  773. register named R.  Given a numeric argument, `C-x r s R' deletes the
  774. text from the buffer as well.
  775.  
  776.    `C-x r i R' inserts in the buffer the text from register R.
  777. Normally it leaves point before the text and places the mark after, but
  778. with a numeric argument (`C-u') it puts point after the text and the
  779. mark before.
  780.  
  781. 
  782. File: emacs,  Node: RegRect,  Next: RegConfig,  Prev: RegText,  Up: Registers
  783.  
  784. Saving Rectangles in Registers
  785. ==============================
  786.  
  787.    A register can contain a rectangle instead of linear text.  The
  788. rectangle is represented as a list of strings.  *Note Rectangles::, for
  789. basic information on how to specify a rectangle in the buffer.
  790.  
  791. `C-x r r R'
  792.      Copy the region-rectangle into register R
  793.      (`copy-region-to-rectangle').  With numeric argument, delete it as
  794.      well.
  795.  
  796. `C-x r i R'
  797.      Insert the rectangle stored in register R (if it contains a
  798.      rectangle) (`insert-register').
  799.  
  800.    The `C-x r i R' command inserts a text string if the register
  801. contains one, and inserts a rectangle if the register contains one.
  802.  
  803.    See also the command `sort-columns', which you can think of as
  804. sorting a rectangle.  *Note Sorting::.
  805.  
  806. 
  807. File: emacs,  Node: RegConfig,  Next: RegFiles,  Prev: RegRect,  Up: Registers
  808.  
  809. Saving Window Configurations in Registers
  810. =========================================
  811.  
  812.    You can save the window configuration of the selected frame in a
  813. register, or even the configuration of all windows in all frames, and
  814. restore the configuration later.
  815.  
  816. `C-x r w R'
  817.      Save the state of the selected frame's windows in register R
  818.      (`window-configuration-to-register').
  819.  
  820. `C-x r f R'
  821.      Save the state of all frames, including all their windows, in
  822.      register R (`frame-configuration-to-register').
  823.  
  824.    Use `C-x r j R' to restore a window or frame configuration.  This is
  825. the same command used to restore a cursor position.  When you restore a
  826. frame configuration, any existing frames not included in the
  827. configuration become invisible.  If you wish to delete these frames
  828. instead, use `C-u C-x r j R'.
  829.  
  830. 
  831. File: emacs,  Node: RegFiles,  Next: Bookmarks,  Prev: RegConfig,  Up: Registers
  832.  
  833. Keeping File Names in Registers
  834. ===============================
  835.  
  836.    If you visit certain file names frequently, you can visit them more
  837. conveniently if you put their names in registers.  Here's the Lisp code
  838. used to put a file name in a register:
  839.  
  840.      (set-register ?R '(file . NAME))
  841.  
  842. For example,
  843.  
  844.      (set-register ?z '(file . "/gd/gnu/emacs/19.0/src/ChangeLog"))
  845.  
  846. puts the file name shown in register `z'.
  847.  
  848.    To visit the file whose name is in register R, type `C-x r j R'.
  849. (This is the same command used to jump to a position or restore a frame
  850. configuration.)
  851.  
  852. 
  853. File: emacs,  Node: Bookmarks,  Prev: RegFiles,  Up: Registers
  854.  
  855. Bookmarks
  856. =========
  857.  
  858.    "Bookmarks" are somewhat like registers in that they record
  859. positions you can jump to.  Unlike registers, they have long names, and
  860. they persist automatically from one Emacs session to the next.  The
  861. prototypical use of bookmarks is to record "where you were reading" in
  862. various files.
  863.  
  864. `C-x r m RET'
  865.      Set the bookmark for the visited file, at point.
  866.  
  867. `C-x r m BOOKMARK RET'
  868.      Set the bookmark named BOOKMARK at point (`bookmark-set').
  869.  
  870. `C-x r b BOOKMARK RET'
  871.      Jump to the bookmark named BOOKMARK (`bookmark-jump').
  872.  
  873. `C-x r l'
  874.      List all bookmarks (`list-bookmarks').
  875.  
  876. `M-x bookmark-save'
  877.      Save all the current bookmark values in the default bookmark file.
  878.  
  879.    The prototypical use for bookmarks is to record one current position
  880. in each of several files.  So the command `C-x r m', which sets a
  881. bookmark, uses the visited file name as the default for the bookmark
  882. name.  If you name each bookmark after the file it points to, then you
  883. can conveniently revisit any of those files with `C-x r b', and move to
  884. the position of the bookmark at the same time.
  885.  
  886.    To display a list of all your bookmarks in a separate buffer, type
  887. `C-x r l' (`list-bookmarks').  If you switch to that buffer, you can
  888. use it to edit your bookmark definitions or annotate the bookmarks.
  889. Type `C-h m' in that buffer for more information about its special
  890. editing commands.
  891.  
  892.    When you kill Emacs, Emacs offers to save your bookmark values in
  893. your default bookmark file, `~/.emacs.bmk', if you have changed any
  894. bookmark values.  You can also save the bookmarks at any time with the
  895. `M-x bookmark-save' command.  The bookmark commands load your default
  896. bookmark file automatically.  This saving and loading is how bookmarks
  897. persist from one Emacs session to the next.
  898.  
  899.    If you set the variable `bookmark-save-flag' to 1, then each command
  900. that sets a bookmark will also save your bookmarks; this way, you don't
  901. lose any bookmark values even if Emacs crashes.  (The value, if a
  902. number, says how many bookmark modifications should go by between
  903. saving.)
  904.  
  905.    Bookmark position values are saved with surrounding context, so that
  906. `bookmark-jump' can find the proper position even if the file is
  907. modified slightly.  The variable `bookmark-search-size' says how many
  908. characters of context to record, on each side of the bookmark's
  909. position.
  910.  
  911.    Here are some additional commands for working with bookmarks:
  912.  
  913. `M-x bookmark-load RET FILENAME RET'
  914.      Load a file named FILENAME that contains a list of bookmark
  915.      values.  You can use this command, as well as `bookmark-write', to
  916.      work with other files of bookmark values in addition to your
  917.      default bookmark file.
  918.  
  919. `M-x bookmark-write RET FILENAME RET'
  920.      Save all the current bookmark values in the file FILENAME.
  921.  
  922. `M-x bookmark-delete RET BOOKMARK RET'
  923.      Delete the bookmark named BOOKMARK.
  924.  
  925. `M-x bookmark-locate RET BOOKMARK RET'
  926.      Insert in the buffer the name of the file that bookmark BOOKMARK
  927.      points to.
  928.  
  929. `M-x bookmark-insert RET BOOKMARK RET'
  930.      Insert in the buffer the *contents* of the file that bookmark
  931.      BOOKMARK points to.
  932.  
  933. 
  934. File: emacs,  Node: Display,  Next: Search,  Prev: Registers,  Up: Top
  935.  
  936. Controlling the Display
  937. ***********************
  938.  
  939.    Since only part of a large buffer fits in the window, Emacs tries to
  940. show the part that is likely to be interesting.  The display control
  941. commands allow you to specify which part of the text you want to see.
  942.  
  943. `C-l'
  944.      Clear screen and redisplay, scrolling the selected window to center
  945.      point vertically within it (`recenter').
  946.  
  947. `C-v'
  948.      Scroll forward (a windowful or a specified number of lines)
  949.      (`scroll-up').
  950.  
  951. `NEXT'
  952.      Likewise, scroll forward.
  953.  
  954. `M-v'
  955.      Scroll backward (`scroll-down').
  956.  
  957. `PRIOR'
  958.      Likewise, scroll backward.
  959.  
  960. `ARG C-l'
  961.      Scroll so point is on screen line ARG (`recenter').
  962.  
  963. `C-x <'
  964.      Scroll text in current window to the left (`scroll-left').
  965.  
  966. `C-x >'
  967.      Scroll to the right (`scroll-right').
  968.  
  969. `C-x $'
  970.      Make deeply indented lines invisible (`set-selective-display').
  971.  
  972.    The names of all scroll commands are based on the direction that the
  973. text moves in the window.  Thus, the command to scrolling forward is
  974. called `scroll-up', since the text moves up.
  975.  
  976. * Menu:
  977.  
  978. * Scrolling::               Moving text up and down in a window.
  979. * Horizontal Scrolling::   Moving text left and right in a window.
  980. * Selective Display::      Hiding lines with lots of indentation.
  981. * European Display::       Displaying (and entering) European characters.
  982. * Optional Mode Line::     Optional mode line display features.
  983. * Display Vars::           Information on variables for customizing display.
  984.  
  985. 
  986. File: emacs,  Node: Scrolling,  Next: Horizontal Scrolling,  Up: Display
  987.  
  988. Scrolling
  989. =========
  990.  
  991.    If a buffer contains text that is too large to fit entirely within a
  992. window that is displaying the buffer, Emacs shows a contiguous portion
  993. of the text.  The portion shown always contains point.
  994.  
  995.    "Scrolling" means moving text up or down in the window so that
  996. different parts of the text are visible.  Scrolling forward means that
  997. text moves up, and new text appears at the bottom.  Scrolling backward
  998. moves text down and new text appears at the top.
  999.  
  1000.    Scrolling happens automatically if you move point past the bottom or
  1001. top of the window.  You can also explicitly request scrolling with the
  1002. commands in this section.
  1003.  
  1004. `C-l'
  1005.      Clear screen and redisplay, scrolling the selected window to center
  1006.      point vertically within it (`recenter').
  1007.  
  1008. `C-v'
  1009.      Scroll forward (a windowful or a specified number of lines)
  1010.      (`scroll-up').
  1011.  
  1012. `NEXT'
  1013.      Likewise, scroll forward.
  1014.  
  1015. `M-v'
  1016.      Scroll backward (`scroll-down').
  1017.  
  1018. `PRIOR'
  1019.      Likewise, scroll backward.
  1020.  
  1021. `ARG C-l'
  1022.      Scroll so point is on line ARG (`recenter').
  1023.  
  1024. `C-M-l'
  1025.      Scroll heuristically to bring useful information onto the screen
  1026.      (`reposition-window').
  1027.  
  1028.    The most basic scrolling command is `C-l' (`recenter') with no
  1029. argument.  It clears the entire screen and redisplays all windows.  In
  1030. addition, it scrolls the selected window so that point is halfway down
  1031. from the top of the window.
  1032.  
  1033.    The scrolling commands `C-v' and `M-v' let you move all the text in
  1034. the window up or down a few lines.  `C-v' (`scroll-up') with an
  1035. argument shows you that many more lines at the bottom of the window,
  1036. moving the text and point up together as `C-l' might.  `C-v' with a
  1037. negative argument shows you more lines at the top of the window.  `M-v'
  1038. (`scroll-down') is like `C-v', but moves in the opposite direction.
  1039. The function keys NEXT and PRIOR are equivalent to `C-v' and `M-v'.
  1040.  
  1041.    To read the buffer a windowful at a time, use `C-v' with no argument.
  1042. It takes the last two lines at the bottom of the window and puts them at
  1043. the top, followed by nearly a whole windowful of lines not previously
  1044. visible.  If point was in the text scrolled off the top, it moves to the
  1045. new top of the window.  `M-v' with no argument moves backward with
  1046. overlap similarly.  The number of lines of overlap across a `C-v' or
  1047. `M-v' is controlled by the variable `next-screen-context-lines'; by
  1048. default, it is two.
  1049.  
  1050.    Another way to do scrolling is with `C-l' with a numeric argument.
  1051. `C-l' does not clear the screen when given an argument; it only scrolls
  1052. the selected window.  With a positive argument N, it repositions text
  1053. to put point N lines down from the top.  An argument of zero puts point
  1054. on the very top line.  Point does not move with respect to the text;
  1055. rather, the text and point move rigidly on the screen.  `C-l' with a
  1056. negative argument puts point that many lines from the bottom of the
  1057. window.  For example, `C-u - 1 C-l' puts point on the bottom line, and
  1058. `C-u - 5 C-l' puts it five lines from the bottom.  Just `C-u' as
  1059. argument, as in `C-u C-l', scrolls point to the center of the screen.
  1060.  
  1061.    The `C-M-l' command (`reposition-window') scrolls the current window
  1062. heuristically in a way designed to get useful information onto the
  1063. screen.  For example, in a Lisp file, this command tries to get the
  1064. entire current defun onto the screen if possible.
  1065.  
  1066.    Scrolling happens automatically if point has moved out of the visible
  1067. portion of the text when it is time to display.  Usually the scrolling
  1068. is done so as to put point vertically centered within the window.
  1069. However, if the variable `scroll-step' has a nonzero value, an attempt
  1070. is made to scroll the buffer by that many lines; if that is enough to
  1071. bring point back into visibility, that is what is done.
  1072.  
  1073. 
  1074. File: emacs,  Node: Horizontal Scrolling,  Next: Selective Display,  Prev: Scrolling,  Up: Display
  1075.  
  1076. Horizontal Scrolling
  1077. ====================
  1078.  
  1079. `C-x <'
  1080.      Scroll text in current window to the left (`scroll-left').
  1081.  
  1082. `C-x >'
  1083.      Scroll to the right (`scroll-right').
  1084.  
  1085.    The text in a window can also be scrolled horizontally.  This means
  1086. that each line of text is shifted sideways in the window, and one or
  1087. more characters at the beginning of each line are not displayed at all.
  1088. When a window has been scrolled horizontally in this way, text lines
  1089. are truncated rather than continued (*note Continuation Lines::.), with
  1090. a `$' appearing in the first column when there is text truncated to the
  1091. left, and in the last column when there is text truncated to the right.
  1092.  
  1093.    The command `C-x <' (`scroll-left') scrolls the selected window to
  1094. the left by N columns with argument N.  This moves part of the
  1095. beginning of each line off the left edge of the window.  With no
  1096. argument, it scrolls by almost the full width of the window (two
  1097. columns less, to be precise).
  1098.  
  1099.    `C-x >' (`scroll-right') scrolls similarly to the right.  The window
  1100. cannot be scrolled any farther to the right once it is displayed
  1101. normally (with each line starting at the window's left margin);
  1102. attempting to do so has no effect.  This means that you don't have to
  1103. calculate the argument precisely for `C-x >'; any sufficiently large
  1104. argument will restore normally display.
  1105.  
  1106. 
  1107. File: emacs,  Node: Selective Display,  Next: European Display,  Prev: Horizontal Scrolling,  Up: Display
  1108.  
  1109. Selective Display
  1110. =================
  1111.  
  1112.    Emacs has the ability to hide lines indented more than a certain
  1113. number of columns (you specify how many columns).  You can use this to
  1114. get an overview of a part of a program.
  1115.  
  1116.    To hide lines, type `C-x $' (`set-selective-display') with a numeric
  1117. argument N.  Then lines with at least N columns of indentation
  1118. disappear from the screen.  The only indication of their presence is
  1119. that three dots (`...') appear at the end of each visible line that is
  1120. followed by one or more invisible ones.
  1121.  
  1122.    The commands `C-n' and `C-p' move across the invisible lines as if
  1123. they were not there.
  1124.  
  1125.    The invisible lines are still present in the buffer, and most editing
  1126. commands see them as usual, so you may find point in the middle of
  1127. invisible text.  When this happens, the cursor appears at the end of the
  1128. previous line, after the three dots.  If point is at the end of the
  1129. visible line, before the newline that ends it, the cursor appears before
  1130. the three dots.
  1131.  
  1132.    To make all lines visible again, type `C-x $' with no argument.
  1133.  
  1134.    If you set the variable `selective-display-ellipses' to `nil', the
  1135. three dots do not appear at the end of a line that precedes invisible
  1136. lines.  Then there is no visible indication of the invisible lines.
  1137. This variable becomes local automatically when set.
  1138.  
  1139.